
<%@ page import="activity.Field" %>
<!DOCTYPE html>
<html>
	<head>
            <meta name="layout" content="backend">
		<g:set var="entityName" value="${message(code: 'field.label', default: 'Field')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<div class="gnav" role="navigation">
			<ul>
                            <li><g:link class="list" controller="event" action="list">場次列表</g:link></li>
			</ul>
		</div>
		<div id="show-field" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list field">
			
				<g:if test="${fieldInstance?.CID}">
				<li class="fieldcontain">
					<span id="CID-label" class="property-label"><g:message code="field.CID.label" default="CID" /></span>
					
						<span class="property-value" aria-labelledby="CID-label"><g:fieldValue bean="${fieldInstance}" field="CID"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fieldInstance?.service}">
				<li class="fieldcontain">
					<span id="service-label" class="property-label"><g:message code="field.service.label" default="Service" /></span>
					
						<span class="property-value" aria-labelledby="service-label"><g:fieldValue bean="${fieldInstance}" field="service"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fieldInstance?.title}">
				<li class="fieldcontain">
					<span id="title-label" class="property-label"><g:message code="field.title.label" default="Title" /></span>
					
						<span class="property-value" aria-labelledby="title-label"><g:fieldValue bean="${fieldInstance}" field="title"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fieldInstance?.tel1}">
				<li class="fieldcontain">
					<span id="tel1-label" class="property-label"><g:message code="field.tel1.label" default="Tel1" /></span>
					
						<span class="property-value" aria-labelledby="tel1-label"><g:fieldValue bean="${fieldInstance}" field="tel1"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fieldInstance?.tel2}">
				<li class="fieldcontain">
					<span id="tel2-label" class="property-label"><g:message code="field.tel2.label" default="Tel2" /></span>
					
						<span class="property-value" aria-labelledby="tel2-label"><g:fieldValue bean="${fieldInstance}" field="tel2"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fieldInstance?.email1}">
				<li class="fieldcontain">
					<span id="email1-label" class="property-label"><g:message code="field.email1.label" default="Email1" /></span>
					
						<span class="property-value" aria-labelledby="email1-label"><g:fieldValue bean="${fieldInstance}" field="email1"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fieldInstance?.email2}">
				<li class="fieldcontain">
					<span id="email2-label" class="property-label"><g:message code="field.email2.label" default="Email2" /></span>
					
						<span class="property-value" aria-labelledby="email2-label"><g:fieldValue bean="${fieldInstance}" field="email2"/></span>
					
				</li>
				</g:if>
			
                                <g:if test="${fieldInstance?.custom1}">
                                    <li class="fieldcontain">
                                        <span id="custom1-label" class="property-label">${fieldInstance.event?.custom1}</span>
                                        <span class="property-value" aria-labelledby="custom1-label"><g:fieldValue bean="${fieldInstance}" field="custom1"/></span>
                                    </li>
                                </g:if>

                                <g:if test="${fieldInstance?.custom2}">
                                    <li class="fieldcontain">
                                        <span id="custom2-label" class="property-label">${fieldInstance.event?.custom2}</span>
                                        <span class="property-value" aria-labelledby="custom2-label"><g:fieldValue bean="${fieldInstance}" field="custom2"/></span>
                                    </li>
                                </g:if>

                                <g:if test="${fieldInstance?.event}">
				<li class="fieldcontain">
					<span id="event-label" class="property-label"><g:message code="field.event.label" default="Event" /></span>
					
						<span class="property-value" aria-labelledby="event-label"><g:link controller="event" action="show" id="${fieldInstance?.event?.id}">${fieldInstance?.event?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${fieldInstance?.id}" />
					<g:link class="edit" action="edit" id="${fieldInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
